//
//  BCTitleInputView.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/10.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class BCTitleInputView;

@protocol BCTitleInputViewDelegate <NSObject>

@optional
- (void)titleInputView:(BCTitleInputView *)inputView textFieldTextDidChanged:(QMUITextField *)textField;

@end

/**
 上面 title 下面输入的视图
 */
@interface BCTitleInputView : UIView

/**
 *titleLabel
 */
@property (nonatomic, strong) QMUILabel *titleLabel;

/**
 *inputTextField
 */
@property (nonatomic, strong) QMUITextField *inputTextField;

/**
 *bottomLine
 */
@property (nonatomic, strong) UIView *bottomLine;

/**
 * BCTitleInputViewDelegate
 */
@property (nonatomic, weak) id <BCTitleInputViewDelegate> delegate;

#pragma mark - noti
- (void)inputTextFieldTextDidChanged:(NSNotification *)noti;

+ (CGFloat)defaultHeight;

@end

NS_ASSUME_NONNULL_END
